home *** CD-ROM | disk | FTP | other *** search
- Path: news.aimnet.com!news
- From: Arun Jamwal <jamwal@quality.com>
- Newsgroups: comp.std.c
- Subject: Q: How to tell if a file is done?
- Date: Wed, 28 Feb 1996 18:07:00 -0800
- Organization: Quality Consulting Services, Santa Clara, CA
- Message-ID: <31350A44.41C6@quality.com>
- NNTP-Posting-Host: quality.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (X11; I; AIX 2)
-
- Hi there,
-
- I have a remote process on system A transferring file, say FILEA.
- Another processes on system B wants to read file FILEA as
- soon as the WHOLE file has been transfered.
-
- I know one can tell process B the size of the file FILEA before the
- transfer and then process B does a fstat to check the size....but
- is there any other way?
-
- For instance, is there a way to tell if there are no descriptors
- associated with a file?
-
- Any suggestions are welcome! And thanks in advance.
-
- Sincerely,
-
- Jamwal
-
- Email: jamwal@quality.com
-